package com.dbq.fast.business.setting;

import android.os.Bundle;
import android.widget.TextView;

import com.dbq.fast.BuildConfig;
import com.dbq.fast.R;
import com.dbq.fast.common.base.BaseActivity;

public class AboutActivity extends BaseActivity {

    private TextView verCodeTV;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);

        verCodeTV = (TextView) findViewById(R.id.version_code);
        verCodeTV.setText(getString(R.string.version_code, BuildConfig.VERSION_NAME));

        findViewById(R.id.back).setOnClickListener(view -> {
            onBackPressed();
        });
    }

}
